package com.junlaninfo;

/**
 * Created by 辉 on 2020/10/30.
 */
public class Test4 {
    public static void main(String[] args) {
        new Test4();
        System.gc();
    }

    @Override
    protected void finalize() throws Throwable {
        System.out.println("finalize方法执行了");
    }
}
